package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.domain.Delivery;

import java.util.List;

public interface IDeliveryService extends IService<Delivery> {
    // CRUD操作的自定义方法
    boolean createDelivery(Delivery delivery);

    boolean updateDelivery(Delivery delivery);

    boolean deleteDeliveryById(int id);

    Delivery getDeliveryById(int id);

    List<Delivery> getDeliveriesByUid(int uid);
}